package com.senjoeson.androidtv.securitydemo;

/**
 * <pre>
 *     author : sunqiao
 *     e-mail : sunqiao@kayak.com.cn
 *     time   : 2018/10/17
 *     desc   :
 *     version: 1.0
 * </pre>
 */
public class AesUtils {


    static {
        System.loadLibrary("utils");       //表示链接该C++类的方法
    }

    public static native String stringFromJNI();


    public static native String encodeAES(String source);


    public static native String decodeAES(String target);


    public static native String base64Encode(String source);


    public static native String base64Decode(String source);


    public static native void readFile(String filePath);
}
